package voiture;

public class Reaction {
	private int mId;
	private String mDescription;
	private int mNiveau;
	
	public Reaction(int id,String description,int niveau)  {
		this.mId=id;
		this.mDescription=description;
		this.mNiveau=niveau;
	}

	public int id(){
		return mId;
	}
	
	public int niveau(){
		return mNiveau;
	}
	
	public String description(){
		return mDescription;
	}
	
	public String toString(){
		return "Reaction id"+mId +" niveau " + mNiveau +" : "+mDescription ;
	}
}
